<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>留言板</title>
    <link rel="stylesheet" href="/node_modules/bootstrap/dist/css/bootstrap.min.css">
</head>


<body>
    <div class="container">

        <div class="page-header">
            <h1>留言板<small>欢迎留言</small></h1>
        </div>
<a href="/public-message.html">写留言</a>
        <ul class="list-group">
            <ul class="list-group">
                {{each messageList}}
                <li class="list-group-item">
                    <a href="/delete?id={{$value.id}}">{{$value.content}}</a>
                    <span class="badge">{{$value.name}}</span>
                </li>
                {{/each}}
            </ul>
        </ul>

    </div>
</body>

</html>